package com.kun.util.excel;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Inherited
public @interface ExcelColumn {

    /**
     * 列头标题
     * @return
     */
    String value();

    /**
     * 数据转换处理类
     * @return
     */
    Class<? extends ExcelTypeHandle> typeHandle() default DefaultExcelTypeHandle.class;

    /**
     * 字段顺序排序
     * @return
     */
    int order() default -1;

}
